<?php
/**
 * Created on 7 mai 2011
 *  * @author Samy Deghou(deghou@polytech.unice.fr ; deghou@embl.de)
 * To change the template for this generated file go to
 * Window - Preferences - PHPeclipse - PHP - Code Templates
 */
function _existController($controller) {
	return file_exists("./Controller/".$controller.CONTROLLER_SUFFIXE.".php");
}

function _redirect($page, $time=0) {
	echo '<meta http-equiv="refresh" content="'.$time.';'.$page.'">';
	session_write_close();
	exit;
}
?>
